package com.dx.financehy.utils;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

/**
 * <pre>
 * @描述：
 * @作者：CLD
 * @创建时间：2020/10/26 19:35
 * </pre>
 **/
public class JsonTOUtils {

    private JsonTOUtils() {
    }

    public static String toJson(Object object) {
        return JSON.toJSONString(object, SerializerFeature.WriteMapNullValue,
                SerializerFeature.DisableCircularReferenceDetect);
    }
}
